//
// Created by liushuai on 18-8-7.
//

#ifndef EX11_BRASSPLUS_HPP
#define EX11_BRASSPLUS_HPP
#include "Brass.hpp"
#include <string>
class BrassPlus : public Brass{
private:
    double maxLoan;
    double rate;
    double owesBank;
public:
    BrassPlus(const std::string & s = "Nullbody",long an = -1,
            double bal = 0.0, double ml = 500,double r = 0.011125);
    BrassPlus(const Brass &ba, double ml = 500, double r = 0.011125);
    virtual void ViewAcct() const;
    virtual void Withdraw(double amt);
    void ResetMax(double);
    void ResetRate(double r);
    void ResetOwes();

};
#endif //EX11_BRASSPLUS_HPP
